﻿namespace WebCamera
{
    using System;
    using System.Configuration;

    public class Configration
    {
        private void Initialize()
        {
            throw new NotImplementedException();
        }

        public static bool IsCaptureFF()
        {
            throw new NotImplementedException();
        }

        public static bool IsCaptureIE6()
        {
            throw new NotImplementedException();
        }

        public static bool IsCaptureIE7()
        {
            throw new NotImplementedException();
        }

        public static void IsNonScrollCapture()
        {
            throw new NotImplementedException();
        }

        public static int FF3Edge
        {
            get
            {
                return 15;
            }
        }

        public static string FFHostIPAddress
        {
            get
            {
                return ConfigurationManager.AppSettings["hostip"];
            }
        }

        public static int FFProxyPort
        {
            get
            {
                return 0x115c;
            }
        }

        public static int IE6Edge
        {
            get
            {
                return 5;
            }
        }

        public static int IE7Edge
        {
            get
            {
                return 5;
            }
        }

        public static WebCamera.Resolution Resolution
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
            }
        }

        public static string SavePath
        {
            get
            {
                return ConfigurationManager.AppSettings["savepath"];
            }
            set
            {
            }
        }

        public static string TempFilePath
        {
            get
            {
                return ConfigurationManager.AppSettings["tempfilepath"];
            }
        }
    }
}

